package edu.chinasoft.domain;

import org.apache.ibatis.type.Alias;

import java.io.Serializable;

@Alias("function")
public class Function implements Serializable{
    private  int funtionId;
    private String funtionName;
    private String functionPath;
    private Function  fatherFunction;


    public Function() {
    }

    public Function(int funtionId, String funtionName, String functionPath) {
        this.funtionId = funtionId;
        this.funtionName = funtionName;
        this.functionPath = functionPath;
    }

    public int getFuntionId() {
        return funtionId;
    }

    public void setFuntionId(int funtionId) {
        this.funtionId = funtionId;
    }

    public String getFuntionName() {
        return funtionName;
    }

    public void setFuntionName(String funtionName) {
        this.funtionName = funtionName;
    }

    public String getFunctionPath() {
        return functionPath;
    }

    public void setFunctionPath(String functionPath) {
        this.functionPath = functionPath;
    }

    public Function getFatherFunction() {
        return fatherFunction;
    }

    public void setFatherFunction(Function fatherFunction) {
        this.fatherFunction = fatherFunction;
    }
}
